package com.orange.api.iml;

import com.orange.api.FeatureAPI;
import com.orange.api.dto.FeatureDto;
import common.unit.ClientSession;

public class API
{
    public static FeatureDto[] getFeatures(final ClientSession session)
    {
        FeatureAPI api = session.getHandler(FeatureAPI.class);
        return api.getFeatures();
    }

    public static FeatureDto getFeatures(final ClientSession session, long featureId)
    {
        FeatureAPI api = session.getHandler(FeatureAPI.class);
        return api.getFeatures(featureId);
    }

    public static void deleteFeatures(final ClientSession session)
    {
        FeatureAPI api = session.getHandler(FeatureAPI.class);
        api.getFeatures();
    }

    public static void postFeatures(final ClientSession session)
    {
        FeatureAPI api = session.getHandler(FeatureAPI.class);
        api.getFeatures();
    }
}
